<template>
    <div>
        <my-dialog :isShow="isShow" :title="options.title" width="500px" @close="isShow = false">  
        </my-dialog>
    </div>
</template>
    
<script setup>
import { ref, defineExpose } from 'vue'
const props = defineProps({
    options: {
        type: Object,
        default() {
            return {};
        },
    }
})
const isShow = ref(false)
const show = () => {
    console.log(111);
    isShow.value = true
}
defineExpose({
    show
})
</script>
    
<style scoped></style>